package com.acegear.horizon.domain.repository.jpa;

import com.acegear.horizon.domain.models.jpa.ClubEventInfo;

import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

/**
 * Created by wangsike on 2017/1/9.
 */
public interface ClubEventInfoRepository extends CrudRepository<ClubEventInfo, Long> {
    Optional<ClubEventInfo> findByEventId(Long eventId);


}
